﻿<div class="leftPanel">
    @* DXCOMMENT: Configure the left panel's menu *@
    @Html.DevExpress().NavBar(settings => {
        settings.Name = "LeftNavBar";
        settings.AutoCollapse = true;
        settings.EnableAnimation = true;
        settings.Width = System.Web.UI.WebControls.Unit.Percentage(100);
        settings.ControlStyle.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
        settings.ControlStyle.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);
    
        var group1 = new MVCxNavBarGroup { Text = "Личные данные" };
        group1.Items.Add(
            new MVCxNavBarItem {
                Text = "Профиль",
                //NavigateUrl = 
            },
            new MVCxNavBarItem {
                Text = "Сообщения",
                //NavigateUrl = 
            });
       // var group2 = new MVCxNavBarGroup { Text = "Информация" };
        group1.Items.Add(
            new MVCxNavBarItem {
                Text = "Успеваемость",
                NavigateUrl = "/Information/Index",
            },
            new MVCxNavBarItem {
                Text ="Результаты тестов",
                NavigateUrl = "/ExamTestResults/Index",
            },
            new MVCxNavBarItem
                {
                    Text = "Управление БД",
                    NavigateUrl = "/Settings/Index",
            },
            new MVCxNavBarItem
            {
                Text = "Поиск учебных материалов",
                NavigateUrl = "/Account/Find",
            });
    settings.Groups.Add(group1);
    }).GetHtml()
</div>